package com.java;

/**
 * @author
 * @date 2018/9/13 15:27
 */
public class Company {
    private int id;
    private int value;

    public Company(int id) {
        this.id = id;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    @Override
    public String toString() {
        if (this.getId()==this.getValue()){
            return "true";
        }
        return "false";
    }
}
